--- a/Makefile
+++ b/Makefile
@@ -3,6 +3,8 @@
 T= rings
 CONFIG= ./config
 
+CFLAGS+= -fPIC
+
 include $(CONFIG)
 
 SRCS= src/rings.c
